package com.itheima02;

import java.io.*;
import java.util.Date;

public class Test05 {
    public static void main(String[] args) throws IOException {
        long start = System.currentTimeMillis();
        BufferedInputStream bis=new BufferedInputStream(new FileInputStream("C:\\Users\\阳光正直夏明伟15805655221\\Desktop\\截图\\03-飞秋  (资料共享软件).exe"));
        BufferedOutputStream bos=new BufferedOutputStream(new FileOutputStream("C:\\Users\\阳光正直夏明伟15805655221\\Desktop\\截图\\测试.exe"));

        int count;
        while ((count=bis.read())!=-1){
            bos.write(count);
        }
        bis.close();
        bos.close();

        long end=System.currentTimeMillis();
        System.out.println(end-start);
    }
}


